package com.zyp.boot09_category.mapper;

import com.zyp.boot09_category.entity.Category;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CategoryMapper {
    int insert(Category category);
    List<Category> select();
    Category selectById(int id);
    int deleteById(int id);
    int deleteByIds(Integer[] ids);
    int update(Category category);
    int count();
}
